#pragma once
#include "..\MainUI\InterFaceUIMain.h"
#include <QString>

//显示简介;
class VisitorDisplayName :public IVisitor
{
public:
    VisitorDisplayName(QString strName, QString strWidgetName);

    // 通过 IVisitor 继承
    void VisitorElement(IUIElement* pElement) override;

private:

    //显示名字的内容;
    QString m_strName;

    //显示内容的控件;
    QString m_strWidgetName;
};

